package cn.iocoder.yudao.module.erp.controller.admin.purchaseplan.vo.purchaseengineeringdetail;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 工程采购计划明细分页 Request VO")
@Data
public class PurchaseEngineeringDetailPageReqVO extends PageParam {

    @Schema(description = "采购计划ID", example = "17837")
    private Long planId;

    @Schema(description = "采购计划编号(系统自动生成)")
    private String planNo;

    @Schema(description = "采购类型SERVICE/EQUIPMENT/NGINEERING/MATERIAL/DIRECT/MINOR", example = "1")
    private String purchaseType;

    @Schema(description = "采购内容(详细)")
    private String purchaseContent;

    @Schema(description = "预估采购数量")
    private Integer estimatedQuantity;

    @Schema(description = "总价限价(单位：万元，人民币)")
    private BigDecimal totalPriceLimit;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}